* sound.c (wav_play): Check header->data_length to see how much we
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 6 Mar 2007 12:14:14 +0000 (12:14 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 6 Mar 2007 12:14:14 +0000 (12:14 +0000)
commit1a9809a2b4ff82b9fda26104812b2e0f0a609090
tree4f5ad0988f13a4b7933fbccfbdc8e9534cf71ac6
parent3040d89e79a558d3d1043dc7d7b67e61588e397e
* sound.c (wav_play): Check header->data_length to see how much we
shall read.
(alsa_period_size): Convert ALSA period size in frames to bytes.
(alsa_write): Return if frames is zero.
src/sound.c